package com.lky.marshallmall.product.feign;

import com.lky.common.to.es.SkuEsModle;
import com.lky.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * Created by
 * autor : Marshall lky
 * datetime: 2021/3/26 16:54
 */
@FeignClient("marshall-search")
public interface SearchFeignService {

    //上架商品
    @PostMapping("/search/save/product")
    R productStatusUp(List<SkuEsModle> skuEsModles);
}
